package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;

import io.renren.entity.CourseuserEntity;
import io.renren.entity.CourseEntity;
import io.renren.entity.CourseuserVOEntity;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;


/**
 * 
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-10-25 15:53:54
 */
public interface CourseuserService extends IService<CourseuserEntity> {
    List<CourseuserEntity> getCourseUser(Integer userid);

    void addCourse(Integer userid,Integer courseid,Timestamp time);

    List<CourseEntity> getCanAddCourse(Integer userid);

    List<CourseuserVOEntity> getStudentAnswerList(Integer courseid,Integer classtimeid);

    List<CourseuserEntity> getMyCourse(@Param("userid") Integer userid);
}

